package com.hm.oauth.model;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.oauth.def.OauthDef;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 下午5:41:21 2016年8月31日
 * @version 1.0
 * @describe
 */
@Setter
@Getter
@Document(collection = OauthDef.DB.PREFIX + "access_token")
public class AccessTokenModel extends BaseModel {

	private static final long serialVersionUID = 1L;

	/**
	 * authorize id
	 */
	@Field("authorize_code")
	private String authorizeCode;
	
}
